<input type="hidden" name="column.id" value="#(column.id)">
<input type="hidden" name="column.parentId" value="#(column.parentId)">
<div class="layui-form-item">
	<div class="layui-inline">
		<label class="layui-form-label layui-bg-blue">状态：</label>
		<div class="layui-input-inline">
			<input type="radio" name="column.status" value="on" title="启用" #if(column.status == 'on' || column.status == null) checked #end>
			<input type="radio" name="column.status" value="off" title="禁用" #if(column.status == 'off') checked #end>
		</div>
	</div>
	<div class="layui-inline">
		<label class="layui-form-label layui-bg-blue">排序：</label>
		<div class="layui-input-inline">
			<input type="text" name="column.sortNum" lay-verify="required|number" autocomplete="off" class="layui-input" value="#(column.sortNum)">
		</div>
	</div>
</div>
<div class="layui-form-item">
	<div class="layui-inline">
		<label class="layui-form-label layui-bg-blue">上级：</label>
		<div class="layui-input-inline">
			<input type="text" disabled autocomplete="off" class="layui-input" value="#(column.parentName)">
		</div>
	</div>
	<div class="layui-inline">
		<label class="layui-form-label layui-bg-blue">设备：</label>
		<div class="layui-input-inline">
			<select disabled name="column.device">
				<option value="pc" #if(column.device=="pc") selected #end>桌面端</option>
				<option value="mobile" #if(column.device=="mobile") selected #end>移动端</option>
			</select>
		</div>
	</div>
</div>
<div class="layui-form-item">
	<div class="layui-inline">
		<label class="layui-form-label layui-bg-blue">标题：</label>
		<div class="layui-input-inline">
			<input type="text" name="column.title" lay-verify="required|V_title" autocomplete="off" class="layui-input" value="#(column.title)">
		</div>
	</div>
	<div class="layui-inline">
		<label class="layui-form-label layui-bg-blue">代码：</label>
		<div class="layui-input-inline">
			<input type="text" name="column.code" lay-verify="required" autocomplete="off" placeholder="用于前端页面过滤" class="layui-input" value="#(column.code)">
		</div>
	</div>
</div>
<div class="layui-form-item">
	<div class="layui-inline">
		<label class="layui-form-label layui-bg-blue">显示方式：</label>
		<div class="layui-input-inline">
			<select name="column.type" lay-verify="required">
				<option value="0" #if(column.type==0) selected #end>仅显示标题</option>
				<option value="1" #if(column.type==1) selected #end>仅显示图标</option>
				<option value="2" #if(column.type==2) selected #end>显示名称和图标</option>
				<option value="3" #if(column.type==3) selected #end>特殊菜单</option>
			</select>
		</div>
	</div>
</div>
<div class="layui-form-item">
	<div class="layui-inline">
		<label class="layui-form-label layui-bg-blue">链接类型：</label>
		<div class="layui-input-inline">
			<select name="column.urlType" lay-filter="url-type">
				<option value="inner" #if(column.urlType == "inner")selected#end>内部链接</option>
				<option value="outer" #if(column.urlType == "outer")selected#end>外部链接</option>
			</select>
		</div>
	</div>
	<div class="layui-inline">
		<label class="layui-form-label layui-bg-blue">打开方式：</label>
		<div class="layui-input-inline">
			<select name="column.target">
				<option value="_self" #if(linkType=="_self") selected #end>当前窗口</option>
				<option value="_blank" #if(linkType=="_blank") selected #end>新窗口</option>
			</select>
		</div>
	</div>
</div>
<div class="layui-form-item">
	<label class="layui-form-label layui-bg-blue">链接地址：</label>
	<div class="layui-input-block">
		<input id="ID_column_url" type="text" name="column.url" lay-verify="required" class="layui-input" placeholder="默认以域名开头，因此不需要输入#(site_domain)，以‘/’开头" autocomplete="off" value="#(column.url)">
	</div>
</div>
<div class="layui-form-item">
	<label class="layui-form-label">模板：</label>
	<div class="layui-input-block">
		<input type="text" name="column.templet" class="layui-input" placeholder="以‘/’开头" autocomplete="off" value="#(column.templet)">
	</div>
</div>
<div class="layui-form-item layui-form-text">
	<label class="layui-form-label">参数：</label>
	<div class="layui-input-block">
		<textarea placeholder="一行一个参数，每个参数必须为key=value格式" name="column.paras" class="layui-textarea">#(column.paras)</textarea>
	</div>
</div>
<div class="layui-form-item layui-form-text">
	<label class="layui-form-label">描述：</label>
	<div class="layui-input-block">
		<textarea placeholder="请输入内容" name="column.remark" class="layui-textarea">#(column.remark)</textarea>
	</div>
</div>

<div class="layui-form-item">
	<div class="layui-inline">
		<label class="layui-form-label">图标：</label>
		<div class="layui-input-inline">
			<div class="layui-upload">
				<button type="button" class="layui-btn" id="LAY-upload-image-btn">选择图片</button>
				<div class="layui-form-mid layui-word-aux">文件大小限制100K，上传成功可点击图片预览</div>
				<div class="layui-upload-list">
					#if(null == column.icon)
					<img style="max-height: 100px; max-width: 100px" class="layui-upload-img" id="LAY-upload-image" >
					#else
					<img style="max-height: 100px; max-width: 100px" class="layui-upload-img" id="LAY-upload-image" src="#(column.icon)">
					#end
					<p id="LAY-upload-image-text"></p>
				</div>
			</div>

		</div>
	</div>
</div>

<fieldset class="layui-elem-field layui-field-title">
	<legend>SEO信息</legend>
	<blockquote class="layui-elem-quote">内容为空时使用系统SEO</blockquote>
	<div class="layui-field-box">
		<div class="layui-form-item">
			<label class="layui-form-label">标题：</label>
			<div class="layui-input-block">
				<input type="text" name="column.seoTitle" placeholder="页面标题" autocomplete="off" class="layui-input" value="#(column.seoTitle)">
			</div>
		</div>

		<div class="layui-form-item">
			<label class="layui-form-label">关键字：</label>
			<div class="layui-input-block">
				<input type="text" name="column.seoMetaKeywords" placeholder="关键字用英文逗号隔开" autocomplete="off" class="layui-input" value="#(column.seoMetaKeywords)">
			</div>
		</div>

		<div class="layui-form-item">
			<label class="layui-form-label">描述：</label>
			<div class="layui-input-block">
				<textarea placeholder="请输入内容" name="column.seoMetaDescription" class="layui-textarea">#(column.seoMetaDescription)</textarea>
			</div>
		</div>
	</div>
</fieldset>

<div class="layui-form-item layui-hide">
    <div class="layui-input-block">
      <button class="layui-btn" lay-submit="" id="LAY-front-submit" lay-filter="LAY-front-submit">立即提交</button>
    </div>
</div>

